package com.ruoyi.system.mapper;

import java.util.List;
import com.ruoyi.system.domain.OverhaulLibrary;

/**
 * 大修库Mapper接口
 * 
 * @author ruoyi
 * @date 2021-10-29
 */
public interface OverhaulLibraryMapper 
{
    /**
     * 查询大修库
     * 
     * @param id 大修库主键
     * @return 大修库
     */
    public OverhaulLibrary selectOverhaulLibraryById(Long id);

    /**
     * 查询大修库列表
     * 
     * @param overhaulLibrary 大修库
     * @return 大修库集合
     */
    public List<OverhaulLibrary> selectOverhaulLibraryList(OverhaulLibrary overhaulLibrary);

    /**
     * 新增大修库
     * 
     * @param overhaulLibrary 大修库
     * @return 结果
     */
    public int insertOverhaulLibrary(OverhaulLibrary overhaulLibrary);

    /**
     * 修改大修库
     * 
     * @param overhaulLibrary 大修库
     * @return 结果
     */
    public int updateOverhaulLibrary(OverhaulLibrary overhaulLibrary);

    /**
     * 删除大修库
     * 
     * @param id 大修库主键
     * @return 结果
     */
    public int deleteOverhaulLibraryById(Long id);

    /**
     * 批量删除大修库
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteOverhaulLibraryByIds(String[] ids);

    OverhaulLibrary getByName(String overhaul_name);
}
